package net.guerlab.ali.dayu;

import java.io.Serializable;

/**
 * 应用信息
 * 
 * @author guer
 *
 */
public class Appliaction implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 应用key
     */
    private String key;

    /**
     * 应用密钥
     */
    private String secret;

    /**
     * 获取应用key
     * 
     * @return 应用key
     */
    public final String getKey() {
        return key == null ? "" : key;
    }

    /**
     * 设置应用key
     * 
     * @param key
     *            应用key
     */
    public final void setKey(String key) {
        this.key = key;
    }

    /**
     * 设置应用密钥
     * 
     * @return 应用密钥
     */
    public final String getSecret() {
        return secret == null ? "" : secret;
    }

    /**
     * 设置应用密钥
     * 
     * @param secret
     *            应用密钥
     */
    public final void setSecret(String secret) {
        this.secret = secret;
    }
}
